﻿using System.Collections.Generic;

namespace MSSQL.PagingCorrelation
{
	/// <summary>
	/// 分页结果
	/// </summary>
	/// <typeparam name="T">分页承载数据的类型</typeparam>
	public class PagingResult<T>
	{
		/// <summary>
		/// 最大条数
		/// </summary>
		public int MaxCount { get; set; } = 0;

		/// <summary>
		/// 分页的结果
		/// </summary>
		public IList<T> Result { get; set; }
	}
}
